<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ include file="/website/layout/tag.jsp"%>
<script type="text/javascript">
	$(document).ready( 
		function() {
			//事件注册.
			$("#saveBtn").click(saveConfig);
			
			//设置左菜单对应菜单CSS为选中状态.
			changeToActiveCss("menu_5010");
			
			//消息显示.
			var msg = '<c:out value="${msg}"/>';
			if (msg != "") {
				alert(msg);
			}
		}
	);
	
	function saveConfig() {
		if (!confirm("保存SEO配置信息吗?")) {
			return false;
		}

		$("#editForm").submit();
	}

</script>
<div id="content_right">
	<div style="width:100%;height:35px;line-height:35px;text-align:left;background-color:#F5FAFA;font-weight:bold; ">营销推广 > 搜索引擎优化 > SEO设置</div>
	<div>
		<div id="tabBar">
			<span class="curentTab">SEO设置</span>
		</div>
		<div class="buttons" style="float:right; ">
			<a id="saveBtn" href="#">
				<img src="../images/btn_apply.png" alt=""/> 
				保存
			</a>
		</div>
	</div>
	<div id="editContainer">
	<form id="editForm" method="post" action="${pageContext.request.contextPath}/promotion/saveSEOConfig.do">
		<div id="relationInfo" class="editPanel" style="float:left;height:320px; width:100%;">
			<span class="title">首页SEO设置</span>
			<div style="clear:both;"></div>
			<div style="float:left; width:98%;margin-left:10px;height:92%;border:1px solid white;">
				<table class="relationTable">
					
				</table>
				<div style="height:1px;clear:both;"></div>
			</div>
		</div>
	</form>
	</div>
</div>
